package com.ververica.cdc.guass.sink.jdbc.derby;

import com.ververica.cdc.guass.sink.jdbc.derby.testutil.DerbyDatabase;
import com.ververica.cdc.guass.sink.jdbc.testutils.DatabaseMetadata;
import com.ververica.cdc.guass.sink.jdbc.testutils.DatabaseTest;
import org.junit.jupiter.api.extension.ExtendWith;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Properties;

/** Base class for Derby testing. */
@ExtendWith(DerbyDatabase.class)
public interface DerbyTestBase extends DatabaseTest {

    @Override
    default DatabaseMetadata getMetadata() {
        return DerbyDatabase.getMetadata();
    }

}
